<form accept-charset="UTF-8" action="<?= $this->escape($this->form->getAction()) ?>"
      method="<?= $this->escape($this->form->getMethod()) ?>">

<fieldset>      
    <legend>General Info</legend>
    <table>
    <tr>
      <td> Name</td> <td> <?=$this->form->name ?>  </td>
    </tr>
    <tr>
      <td> Type</td> <td> <?=$this->form->type ?></td>
    </tr>
    
    <tr>
      <td> Title</td> <td>  <?=$this->form->title ?></td> 
    </tr>
    <tr>
      <td> Link</td> <td> <?=$this->form->link_to ?></td> 
    </tr>
    </table>

    <br/>
    <fieldset>
        <legend>Content</legend>
        You can request a module
        to generate content OR you can add a piece of HTML or PHP text to be displayed:
        <br/> <br/> 
        <table>
        <tr> <td>Request (camel case like /user/block/logMeIn for logMeInAction())</td> 
         <td><?=$this->form->action_url ?> &nbsp;&nbsp;&nbsp;(e.g /user/block/login)</td>
        </tr>
        
        <tr><td>Or <?=$this->form->text_type ?> </td>
        <td><?=$this->form->text ?></td>
        </tr>
        </table>
     </fieldset>
</fieldset>
<br/><br/><br/>


<fieldset>
<legend>Permissions</legend>
    <table>
    <tr>
        <td>Configurable by user</td>
        <td><?=$this->form->user_configurable ?><br/><br/></td>
    </tr>

    <tr>
        <td>Shared users</td>
        <td><?= $this->form->owner ?><br/>("-1" for public)<br/><br/></td>
    </tr>
        
    <tr>
        <td>Applicable languages</td>
        <td><?=$this->form->languages ?><br/><br/></td>
    </tr>    

    <tr>        
        <td>Applicable themes</td>
        <td><?=$this->form->themes ?><br/><br/></td>
    </tr>
        
    <tr>
        <td>Applicable user roles:</td>
        <td><?=$this->form->roles ?><br/><br/></td>
    </tr>
    
    <tr>
        <td>Applicable modules:</td>
        <td><?= $this->form->modules ?><br/>(<b>todo</b>: Fine-grain it to Per action)<br/><br/></td>
    </tr>
    </table>
</fieldset>


<br/><br/><br/>
<fieldset>
<legend>Positions</legend>
<!--Set the position for each template by the following format: <b>{prime:common:region:weight}</b>,-->
If not specified, it will not be displayed 
<table>
	<tr>
		<!--<td class="themes">Themes: <?=$this->form->themes ?></td>-->
		<td class="template">Template: <?=$this->form->template ?></td>
		<td class="region">Region: <?=$this->form->region ?></td>
		<td class="weight">Weight: <?=$this->form->weight ?></td>
	</tr>
</table>
</fieldset>

<?=$this->form->submit ?>

</form>      

